/ Assembly List / LJCAppManager / Logon / LogonUser

Namespace - LJCAppManager


Parameters
userName - The domain user name.
domainName - The domain name.
password - The user password.
LogonType - The logon type.
LogonProvider - The logon provider.
phToken - The pointer to the token handler.

Returns

True if the user exists, othwerwise false.

Syntax

C#
public static Boolean LogonUser(String userName, String domainName, String password, Int32 LogonType, Int32 LogonProvider, IntPtr& phToken)

Retrieves the logged on user.

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.